<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>新增挂号</title>
		<link type="text/css" rel="stylesheet" href="${ pageContext.request.contextPath }/assets/fontsawesome/css/font-awesome.css"/>
		<link type="text/css" rel="stylesheet" href="${ pageContext.request.contextPath }/assets/css/style.css"/>
		<link type="text/css" rel="stylesheet" href="${ pageContext.request.contextPath }/assets/css/datepicker.css"/>
	</head>
	<body>
	
		<style>
.tip {
	width: 100%;
	padding: 2em 0;
	text-align: center;
	background-color: #FF8080;
	color: white;
	font-weight: bold;
	margin: 1em 0;
	border-radius: 5px;
}
</style>

	<c:if test="true">
		<div class="tip">请先领取就诊卡！</div>
	</c:if>
		<div class="main_box">
			<h2><span></span>新增挂号</h2>
			<div class="cont_box">
				<form action="${ pageContext.request.contextPath }/addPatientRegister.do" method="post" id="user_form">
					<ul class="addpro_box adduser_box">
						<li>
							<label>就诊卡号：</label>
							<input type="text" placeholder="请输入就诊卡号" name="medicalId" required data-rule-fullname="true" data-msg-required="就诊卡号不能为空"/>
						</li>
						<li>
							<label>就诊科室：</label>
							<select name="prOffice">
								<option value="内科">内科</option>
								<option value="外科">外科</option>
								<option value="耳鼻喉科">耳鼻喉科</option>
								<option value="口腔">口腔科</option>
								<option value="儿科">儿科</option>
								<option value="妇产科">妇产科</option>
								<option value="皮肤科">皮肤科</option>
								<option value="检验科">检验科</option>
							</select>
						</li>
						<li>
							<label>就诊时间：</label>
							<!-- <input type="text" placeholder="请输入就诊时间  格式：yyyy-MM-dd HH:mm:ss" name="prTime" required data-rule-fullname="true" data-msg-required="就诊时间不能为空"/>
 -->							<input type="datetime-local" name="prTime" placeholder="请输入就诊时间">
						</li>
						<li>
							<label>就诊医生：</label>
							<input type="text" placeholder="请输入就诊医生" name="prDoctor" required data-rule-mileage="true" data-msg-required="就诊医生不能为空"/>
						</li>
						<li>
							<label>挂号费：</label>
							<input type="number" placeholder="请输入挂号费" name="prFare" required data-rule-mileage="true" data-msg-required="挂号费不能为空"/>
						</li>
						<li>
							<label>支付方式：</label>
							<select name="prPayway">
								<option value="现金">现金</option>
								<option value="支付宝">支付宝</option>
								<option value="微信">微信</option>
								<option value="银行卡">银行卡</option>
							</select>
						</li>
						
					</ul>
					<div class="probtn_box clearfix">
						<input type="submit" value="挂号" class="btn blue_btn"/>
					</div>
				</form>
			</div>
		</div>
		
	</body>
</html>